﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LOGISTCBUS.Entities
{
    public class City : BaseEntity<City>
    {
        #region properties
        public String Name { get; set; }
        public State State { get; set; }
        public String IbgeCode { get; set; }
        public String FullName
        {
            get
            {
                var fullName = this.Name;
                if (this.State != null)
                    fullName += "/" + this.State.Acronym;
                return fullName;
            }
        }
        #endregion
    }
}
